print(bin(0b0010 | 0b0000))
print(bin(0b1000 & 0b1111))
print(bin(~(0b101)))
print("-------------------")
print(1 and 0)
print(1 or 0)
print(not 1)